<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>

<head>

    <meta charset="utf-8">

    <title>新增员工</title>

    <link rel="stylesheet" type="text/css" href="../../../static/css/register.css">


</head>

<body>

<div class="rg_layout">
    <div class="rg_left">
        <p class="p_reg">添加用户</p>
    </div>

    <div class="rg_center">
        <div class="re_form">

            <form action="${pageContext.request.contextPath}/emp/addEmpInfo" method="post">
                <table>
                    <tr>
                        <td class="td_left"><label for="empId">编号</label></td>
                        <td class="td_right"><input type="text" name="empId" id="empId" placeholder="员工编号" required></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="empName">姓名</label></td>
                        <td class="td_right"><input type="text" name="empName" id="empName" placeholder="姓名" required></td>
                    </tr>
                    <tr>
                        <td class="td_left">性别</td>
                        <td class="td_right">
                            <input type="radio" name="empSex" value="男">男
                            <input type="radio" name="empSex" value="女">女
                        </td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="empBirthday">出生日期</label></td>
                        <td class="td_right"><input type="date" name="empBirthday" id="empBirthday" required></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="empCardno">身份证号</label></td>
                        <td class="td_right"><input type="text" name="empCardno" id="empCardno" placeholder="请输入身份证号" required></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="empAddress">住址</label></td>
                        <td class="td_right"><input type="text" name="empAddress" id="empAddress" placeholder="请输入住址" required></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="empTel">电话号码</label></td>
                        <td class="td_right"><input type="text" name="empTel" id="empTel" placeholder="请输入您的电话号码" required></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="deptId">员工部门编号</label></td>
                        <td class="td_right"><input type="text" name="deptId" id="deptId" placeholder="请输入您的部门编号" required></td>

                    </tr>


                    <tr>

                        <td colspan="2" align="center"><input type="submit" id="btn_sub" value="添加"></td>

                    </tr>


                </table>

            </form>

        </div>

    </div>

</div>


</body>

</html>
